package cn.gov.msa.service;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.gov.msa.model.File;
import cn.gov.msa.model.Notice;


@Service
public interface NoticeService {

	public List<Notice> selectNotice(int pageNum, int pageSize, Notice notice);

	public boolean saveData(Notice notice);

	public int deleteNotice(String noticeId);

	public boolean updateNotice(Notice notice);

	public int updateNoticeFileId(Notice notice);
	
	public File selectFile(String fileId);
	
	public List<Notice> selectwaiData(int pageNum, int pageSize);
	
	public List<Notice> selectAllData(int pageNum, int pageSize, Notice notice);

}
